package com.fintech.third.model.facesign;

public enum ReturnCode {
	success				("0","success","鎴愬姛"),
	fail				("-1","fail","澶辫触"),
	noData				("-4","no data","鏃犳暟鎹�"),
	//绯荤粺妯″潡
	/**绯荤粺閿欒**/
	systemError       	("10001","System Error","绯荤粺閿欒"),
	
	//鐢ㄦ埛鏉冮檺楠岃瘉妯″潡
	/**Token涓虹┖**/
	needToken		  	("20001","Need Token","Token涓虹┖"),
	/**Token楠岃瘉澶辫触**/
	tokenInvalid 	("20002","Token verify failed","鐢ㄦ埛鏈櫥褰曟垨鑰呯櫥褰曡秴鏃�"),
	;
	
	private String errorCode;
	private String errorName;
	private String errorDescribe;
	private ReturnCode(String errorCode, String errorName, String errorDescribe) {
		this.errorCode = errorCode;
		this.errorName = errorName;
		this.errorDescribe = errorDescribe;
	}
	public String getErrorCode() {
		return errorCode;
	}
	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}
	public String getErrorName() {
		return errorName;
	}
	public void setErrorName(String errorName) {
		this.errorName = errorName;
	}
	public String getErrorDescribe() {
		return errorDescribe;
	}
	public void setErrorDescribe(String errorDescribe) {
		this.errorDescribe = errorDescribe;
	}
	
}
